<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../vue.js"></script>

</head>
<body>
<div id="vue2">
    <div v-html="test"></div>
</div>
</body>
<script>
    var vue2=new Vue({
        el:"#vue2",
        data:{
            test :'<h1>你好！我是小米</h1>'
        }
    })
</script>
</html>